#ifndef SYSTIME_H_
#define SYSTIME_H_
#include "conf.h"
#include "stdint-port.h"
#include <time.h>

C_CODE_BEGIN

struct systime {
	struct tm des_ti;
	uint64_t usec;
};


EXPORT_FUNC void ti_grab_time( struct systime* );
EXPORT_FUNC int ti_print_time( const struct systime* , char* buffer , int sz );


C_CODE_END


#endif // SYSTIME_H_



